package com.org.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author cjx
 * @since 2024-03-03
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("community_transfer_coin")
@ApiModel(value="CommunityTransferCoin对象", description="")
public class CommunityTransferCoin implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "转账人的id")
    private Integer fromUserId;

    @ApiModelProperty(value = "收账人的id")
    private Integer toUserId;

    @ApiModelProperty(value = "转的数量")
    private Integer coinNum;

    @ApiModelProperty(value = "转的币的id")
    private String coinIds;

    @ApiModelProperty(value = "社区的id")
    private Integer communityId;

    @TableField(exist = false)
    private String fromName;

    @TableField(exist = false)
    private String toName;

}
